2016-03-14 - 25463 - Break fix - Program Close Old WO Dynamic date in Variant #ProductionBreakFix #sncsup

2016-04-07 - 25463 - Breakfix - WO Close Program to set up variant

Problem Summary


For WO Close Program variant could not setup with dynamic date.

Admin Info


Purpose
WO Close Program to setup variant
Requested by
Jingsha/Bhumi
Issue Date
04-07-2016
Resolved by
Karthik, Thiyagu, Adithya
Resolved Date
04-07-2016
Document Status
Complete

Detailed Problem Description

(Include Screen Shots if required )

When a variant is created for WO Close Program, Delivery date field can not be given dynamically it just shows "T:Table Variable from TVARVC" as selection variable.
V1.JPG

On 04/08/2016 it is reported that when the Work Order Clean program is carried out once the Work Orders are closed with the delivery date given in the input the Job is going to cancel due to a dump due to Memory issue.
25463-3.JPG

25463-4.JPG

25463-5.JPG

This is due to a bug on validation which is missed in the program.

After the changes the Spool of the Program shall show the Log as below:
The Spool of the out put shall be displayed with PO Number, PO line and Work Order number.
25463-2.JPG

Test Plan:


Test ID
Test Scenario
Expected Results
SNDWC001
Foreground:Execute the job by setting up variant with dynamic delivery date selection
The Work orders has to be closed with the delivery date less that 90 days from the past
SNDWC002
Po Delivery date Should More than 90 Days& Po Header was Closed in SNC System.
Workorder shall be Close
SNDWC003
Po Delivery date Should Less than 90 Days& Po Header was Closed in SNC System.
Workorder should not close
SNDWC004
Po have multiple delivery dates
Workorder shall be Close
SNDWC005
Po have multiple delivery dates in different line items & Po created less than 90 days.
Workorder shall be Close
SNDWC006
Po Delivery date Should More than 90 Days& Po Header was not Closed in SNC System.
Workorder should not close
SNDWC007
Po Delivery date was future & Po header was Close.
Workorder should not close
SNDWC008
Give multiple Suppliers
Workorder shall be Close
SNDWC009
Give Non SNC Vendor
Error message should come
SNDWC010
Give Delivery past delivery dates(01/01/2013 &01/01/2014)
Error message should come
SNDWC011
Execute the job once again after successful execution of the previuos job with the same delivery date as input
The job must be successful and there shall not be any dumps and the spool shall show the Wos which are closed. If there are no work orders ot be closed the spool shall be shown " No work orders to be Closed "
SNDWC012
BackGround:Execute the job by setting up variant with dynamic delivery date selection.
The Work orders has to be closed with the delivery date less that 90 days from the past
SNDWC013
Po Delivery date Should More than 90 Days& Po Header was Closed in SNC System.
Workorder shall be Close
SNDWC014
Po Delivery date Should Less than 90 Days& Po Header was Closed in SNC System.
Workorder should not close
SNDWC015
Po have multiple delivery dates in different line items & Po created less than 90 days.
Workorder should not close
SNDWC016
Po Delivery date Should More than 90 Days& Po Header was not Closed in SNC System.
Workorder should not close
SNDWC017
Po Delivery date was future & Po header was Close.
Workorder should not close
SNDWC018
Give Non SNC Vendor
Error message should come
SNDWC019
Give Delivery past delivery dates(01/01/2013 &01/01/2014)
Error message should come
SNDWC020
Execute the job once again after successful execution of the previuos job with the same delivery date as input
The job must be successful and there shall not be any dumps and the spool shall show the Wos which are closed. If there are no work orders ot be closed the spool shall be shown " No work orders to be Closed "

Solution Analysis and Recommendations
(Include Screen Shots if required)

Change the program so as the time stamp shall not show up in the input field "Delivery Date"

Resolution


Carry out the changes in the program and execute it by setting up a variant with dynamic date calculation.

Release Information


Provide link here to Release Notes if Technical Objects were changed
2016-03-14 - 25463 - Rel Notes - Program to Close Old Work Orders